<?php

namespace app\admin\controller\zz_article;

use app\common\controller\Backend;
use app\zz_article\model\ArticleTypeM;

class ArticleType extends Backend
{
    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = new ArticleTypeM();
        $searchList  = [
            'status' => [
                'normal' => '正常',
                'hidden' => '隐藏',
            ],
        ];
        $this->assignconfig('searchList', $searchList);
        $this->assign("statusList", $searchList['status']);
    }
}
